  <div id="menu_top">
    <a id="btn_main" href="menu.php" target="menu">Hauptseite</a>&nbsp;
    <a id="btn_admin" href="admin/" target="menu">Administration</a>&nbsp;
    <a id="btn_logout" href="#logout">Logout</a>
    <div id="searchbar">
      <input type="text" id="fld_search"><input type="button" id="btn_begin_search" value="Search">
    </div>
  </div>

  <div id="menu" name="menu"></div>

  <!-- <iframe name="menu" id="menu" src="menu.php" style="flex-direction: row;">
  </iframe> -->

  <div id="content" name="content"></div>

  <!-- <iframe name="content" id="content" src="about:blank" style="flex-direction: row;">
  </iframe> -->

  <script type="text/javascript" language="javascript">
    $( document ).ready( function() {
      $( "#btn_main" ).click();
    });

    $( "#btn_main" ).click( function( event ) {
      event.preventDefault();
      var request = $.ajax({
        url: "menu.php",
        type: "GET",
        dataType: "html"
      });
      request.done( function( msg ) {
        $( "#menu" ).html(msg);
      });
    });

    $( "#btn_admin" ).click( function( event ) {
      event.preventDefault();
    });

    $( "#btn_logout" ).click( function( event ) {
      event.preventDefault();
      var request = $.ajax({
        url: "logout.php",
        type: "GET",
        dataType: "script"
      });
      request.done( function( msg ) {
        msg;
      });
      request.fail( function( jqXHR, textStatus ) {
        alert( "Request failed: " + textStatus );
      });
    });
  </script>
